package com.etc.entity.homework;

import java.util.List;

public class Author {
	private String name;

	private List<String> titles;// 注入类型是List

	private List<Blog> blogs;//注入是List但是类型是Blog

	public List<Blog> getBlogs() {
		return blogs;
	}

	public void setBlogs(List<Blog> blogs) {
		this.blogs = blogs;
	}

	public List<String> getTitles() {
		return titles;
	}

	public void setTitles(List<String> titles) {
		this.titles = titles;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Author [name=" + name + ", titles=" + titles + ", blogs=" + blogs + "]";
	}

}
